package com.annotation;

@SxtTable("tb_student")
public class SxtStudent {

    @SxtField(name="id",type="int",length=10)
    private int id;

    @SxtField(name="student_name",type="varchar",length=10)
    private String studentName;

    @SxtField(name="student_age",type="int",length=3)
    private int age;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

}